package com.chhuang.core.exception;

/**
 * 
 * 自定义的系统异常类，有预期异常的类只要抛出ExpectException
 * 由springmvc定义的全局异常处理器处理
 * @author CHHUANG
 *
 */
public class ExpectException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6725145477953619186L;
	
	//异常信息
	private String message;

	public ExpectException(String message) {
		super();
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
